﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace UserModels
{
    /// <summary>
    /// 关系信息表
    /// </summary>
    [Table("TiesInfoModel")]
    public class TiesInfoModel : AuditModel
    {
        /// <summary>
        /// 关系编号
        /// </summary>
        [Key]
        [SugarColumn(IsPrimaryKey =true,IsIdentity =true)]
        public int TiesId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int RoleId { get; set; }
        /// <summary>
        /// 菜单编号
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int MenuId { get; set; }
    }
}
